<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #d1 {
            width: 300px;
            height: 100px;
            border: 10px solid red;
            /*设置圆角,值越大越圆,超过宽高一半为正圆(前提是正方形)*/
            border-radius: 100px;
        }

        span {
            border-right: 1px solid blue;
        }

        #d2 {
            width: 150px;
            height: 150px;
            border: 1px solid red;
            /*给元素添加内边距会影响宽高*/
            padding-top: 50px;
            padding-left: 50px;
        }
        ul{
            padding: 0;/*去掉自带内边距*/
        }
    </style>
</head>
<body>
<ul>
    <li>克晶姐</li>
    <li>传奇哥</li>
    <li>我自己</li>
</ul>
<div id="d2">内边距测试</div>
<div id="d1">边框测试</div>
<span>边框测试</span>测试文本
</body>
</html>